﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Yglab.Models
{
    /* // direk User ı kullanabiliriz aslında.
    public class Register
    {
        public string Name { get; set; }
        public string Surname { get; set; }
        public string Email { get; set; }
        public string Password { get; set; }
    }
    */
    public class Gui_Login
    {
        public string Email { get; set; }
        public string Password { get; set; }
    }

    public class Gui_Search
    {
        public int[] SubjectIds { get; set; }
        public List<Subject> Subjects { get; set; }
        public List<Journal> Journals { get; set; }
        public string Keyword { get; set; }
        public string Author { get; set; }
    }

    public class Gui_Journal
    {
        public Journal Journal { get; set; }
        public int State { get; set; }          // 1: editörü var   2:davet edilmiş bir editörü var     3:davet gerekiyor
        public User Editor { get; set; }
        public Invitation Invitation { get; set; }
    }

    public class Gui_SubjectsSciences
    {
        public List<Subject> Subjects { get; set; }
        public List<Science> Sciences { get; set; }
    }


}